package 第五章继承.object.自动装箱;

public class IntegerEquals {
    public static void main(String[] args) {
        Integer a = 1000;
        Integer b = 1000;
        System.out.println(a == b);
        System.out.println(a.equals(b));

        String s  = "12121";
        int i = Integer.parseInt(s);
        int i1 = Integer.valueOf(s);
    }
}
